//
//  VoiceManage.h
//  RainbowFM
//
//  Created by Kratos on 14/12/30.
//  Copyright (c) 2014年 RB. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@class VoiceManage;
@protocol VoiceManageDelegate <NSObject>

@optional
-(void)didFinishRecord:(VoiceManage*)manage encodeVoiceData:(NSData*)ecodeData;
-(void)voiceRecorder:(VoiceManage*)manage errorWithState:(NSUInteger)state;


@end

@interface VoiceManage : NSObject
@property (nonatomic, weak) id <VoiceManageDelegate > voiceRecorderDelegate;

-(void)addlongPressGestureWith:(UIView *)view;
@end
